package com.k.demo.service;

import java.util.List;

import com.k.demo.entity.Evaluation;

public interface EvaluationService {
	int addEvaluation(Evaluation evaluation);
	
	int deleteEvaluation(int evaluation_id);
	
	//通过菜品id获得这道菜的评论
	List<Evaluation> getEvaluationByFood(int food_id);
	
	List<Evaluation> getWithImg(int food_id);
	
	List<Evaluation> getWithQuality(int food_id);
	
	int count(int food_id);
	
	Double getAvgEvaluationLv(int food_id);
	
}
